From b40dc528f65c2275eb066e2b43ba283a31122d72 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 11 Jan 2011 16:40:16 +0100 Subject: [PATCH] tests: Remove useless calls to gtk_widget_style_attach() --- tests/cellareascaffold.c | 2 -- tests/gtkoffscreenbox.c | 1 - 2 files changed, 3 deletions(-) diff --git a/tests/cellareascaffold.c b/tests/cellareascaffold.c index c623b20acd..ddd5f2a7c9 100644 --- a/tests/cellareascaffold.c +++ b/tests/cellareascaffold.c @@ -337,8 +337,6 @@ cell_area_scaffold_realize (GtkWidget *widget) priv->event_window = gdk_window_new (window, &attributes, attributes_mask); gdk_window_set_user_data (priv->event_window, widget); - - gtk_widget_style_attach (widget); } static void diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c index 0afaa0b84d..7aeb82cdfd 100644 --- a/tests/gtkoffscreenbox.c +++ b/tests/gtkoffscreenbox.c @@ -345,7 +345,6 @@ gtk_offscreen_box_realize (GtkWidget *widget) g_signal_connect (offscreen_box->offscreen_window2, "from-embedder", G_CALLBACK (offscreen_window_from_parent2), offscreen_box); - gtk_widget_style_attach (widget); context = gtk_widget_get_style_context (widget); gtk_style_context_set_background (context, window); gtk_style_context_set_background (context, offscreen_box->offscreen_window1); -- 2.30.2